package no.ntnu.fp.model;

public class CurrentUser {

	private static Person currentUser;
	private static CalendarModel myActivities;

	public static Person getCurrentUser() {
		return currentUser;
	}

	public static void setCurrentUser(Person currentUser) {
		CurrentUser.currentUser = currentUser;
		myActivities = new CalendarModel(currentUser);
		System.out.println(myActivities);
	}
	
	/**
	 * Gets the user's appointments and meetings
	 * @return the fuckin' activities
	 */
	public static CalendarModel getMyActivities() {
		return myActivities;
	}

	public static void setMyActivities(CalendarModel myActivities) {
		CurrentUser.myActivities = myActivities;
	}
	
}
